package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.time.LocalDateTime;

public class SysProductionPointVO {

    private Integer id;
    /**
     * 装置名称
     */
    private String deviceName;
    /**
     * 指标名称
     */
    private String indexName;
    /**
     * 类型 1-装车站 2-泵棚
     */
    private Integer type;
    /**
     * 位号
     */
    private String bitNumber;
    /**
     * 实时数据库位号
     */
    private String databaseBitNumber;
    /**
     * 单位
     */
    private String unit;
    /**
     * 低低报
     */
    private Double playItLow;
    /**
     * 低报
     */
    private Double lowQuota;
    /**
     * 高报
     */
    private Double highQuota;
    /**
     * 高高报
     */
    private Double highAndMighty;
    /**
     * 里程
     */
    private String dangerRange;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

    private Double av;

    // 1-是 0-否
    private Integer alert;

    // 报警级别
    private String alertType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getIndexName() {
        return indexName;
    }

    public void setIndexName(String indexName) {
        this.indexName = indexName;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getBitNumber() {
        return bitNumber;
    }

    public void setBitNumber(String bitNumber) {
        this.bitNumber = bitNumber;
    }

    public String getDatabaseBitNumber() {
        return databaseBitNumber;
    }

    public void setDatabaseBitNumber(String databaseBitNumber) {
        this.databaseBitNumber = databaseBitNumber;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Double getPlayItLow() {
        return playItLow;
    }

    public void setPlayItLow(Double playItLow) {
        this.playItLow = playItLow;
    }

    public Double getLowQuota() {
        return lowQuota;
    }

    public void setLowQuota(Double lowQuota) {
        this.lowQuota = lowQuota;
    }

    public Double getHighQuota() {
        return highQuota;
    }

    public void setHighQuota(Double highQuota) {
        this.highQuota = highQuota;
    }

    public Double getHighAndMighty() {
        return highAndMighty;
    }

    public void setHighAndMighty(Double highAndMighty) {
        this.highAndMighty = highAndMighty;
    }

    public String getDangerRange() {
        return dangerRange;
    }

    public void setDangerRange(String dangerRange) {
        this.dangerRange = dangerRange;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Double getAv() {
        return av;
    }

    public void setAv(Double av) {
        this.av = av;
    }

    public Integer getAlert() {
        return alert;
    }

    public void setAlert(Integer alert) {
        this.alert = alert;
    }

    public String getAlertType() {
        return alertType;
    }

    public void setAlertType(String alertType) {
        this.alertType = alertType;
    }
}
